package com.share.example.stock.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author author
 * @since 2023-11-16
 */
@Data
@Accessors(chain = true)
@TableName("ts_user")
public class User implements Serializable{

    private static final long serialVersionUID=1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    /** 用户名字 */
    private String username;
    /** 邮箱 */
    private String email;
    /** 是否有效 */
    private String status;
    /** 策略集合 */
    private String strategys;
    /** 收藏的code，逗号切割 */
    @TableField(value = "collect_codes")
    private String collectCodes;

}
